package com.company;

import org.quartz.Job;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.util.Date;


/**
 * Created by Administrator on 2018/3/27 0027.
 */
public class RemindTask implements Job {
    public static final Logger logger = LoggerFactory.getLogger(RemindTask.class.getName());
    private static final String TAG = "RemindTask";
    public static String c_url = "http://mobads.baidu.com/ads/js/c.js";
    public static String ad_trunk_url="http://mobads.baidu.com/ads/js/ads.trunk.js";
    public static String sdk_ios_url="http://mobads.baidu.com/ads/js/sdk.ios.js";

    @Override
    public void execute(JobExecutionContext jobExecutionContext) throws JobExecutionException {
     logger.info( "------------------------------------------------execute start--------------------------------------------------------");
        Utils.getDexVer("");
        logger.info( "run  has exec..."+new Date());
       Utils.getC_JS(c_url,"c1.js");
       Utils.getC_JS(ad_trunk_url,"ad.trunk1.js");
       Utils.getC_JS(sdk_ios_url,"sdk.ios1.js");
    }
}
